﻿using System;

class CalculateNoverK

            // Write a program that calculates N!/K! for given N and K (1<K<N).

{
    static void Main()
    {
        Console.WriteLine("Enter value for 'N' and 'K': ");
        double n = double.Parse(Console.ReadLine());
        double k = double.Parse(Console.ReadLine());
        double result = k + 1;
        for (double i = (double)result + 1; i <= n; i++)
        {
            result *= i;
        }
        Console.WriteLine("The result of N!/K! is {0}", result);
    }
}

